package tk.djcrazy.instantmessage.serviceImpl;

import javax.annotation.Resource;

import tk.djcrazy.instantmessage.dao.IDao;
import tk.djcrazy.instantmessage.domain.BaseBean;

public abstract class ServiceImpl<T extends BaseBean> {
	
	@Resource
 	private IDao<T> dao;

	protected IDao<T> getDao() {
		return dao;
	}

	public void setDao(IDao<T> dao) {
		this.dao = dao;
	}

  }
